package com.example.service;

import com.example.entity.Student;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface StudentService {
    Student findById(int id);
    PageInfo<Student> findAllByPage(Student student, Integer pageNum, Integer pageSize);

    int insert(Student student);
    int update(Student student);
    int delete(int id);
}
